package com.cs.paoyer.administration.web.form;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
//import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
import java.sql.Date;


public class ApplicationForm extends ActionForm 
{
  private String name;
	private String description;
	private String creationUser;
	private Date creationDate;
	private String creationTerminal;
	private String updateUser;
	private Date updateDate;
	private String updateTerminal;
	private String effectiveFrom;
	private String effectiveUntil;
	private String abbreviation;
	private Long code;
	private Long userCode;
	private Long ownerUserCode;
	private String use; 

	public ApplicationForm()
	{
	}

	/**
   * Reset all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   */
  public void reset(ActionMapping mapping, HttpServletRequest request)
  {
    super.reset(mapping, request);
  }

  /**
   * Validate all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   * @return ActionErrors A list of all errors found.
   */
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
  {
    return super.validate(mapping, request);
  }

	public String getName()
	{
		return name;
	}

	public void setName(String newName)
	{
		name = newName;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String newDescription)
	{
		description = newDescription;
	}

	public String getCreationUser()
	{
		return creationUser;
	}

	public void setCreationUser(String newCreationUser)
	{
		creationUser = newCreationUser;
	}

	public Date getCreationDate()
	{
		return creationDate;
	}

	public void setCreationDate(Date newCreationDate)
	{
		creationDate = newCreationDate;
	}

	public String getCreationTerminal()
	{
		return creationTerminal;
	}

	public void setCreationTerminal(String newCreationTerminal)
	{
		creationTerminal = newCreationTerminal;
	}

	public String getUpdateUser()
	{
		return updateUser;
	}

	public void setUpdateUser(String newUpdateUser)
	{
		updateUser = newUpdateUser;
	}

	public Date getUpdateDate()
	{
		return updateDate;
	}

	public void setUpdateDate(Date newUpdateDate)
	{
		updateDate = newUpdateDate;
	}

	public String getUpdateTerminal()
	{
		return updateTerminal;
	}

	public void setUpdateTerminal(String newUpdateTerminal)
	{
		updateTerminal = newUpdateTerminal;
	}

	public String getEffectiveFrom()
	{
		return effectiveFrom;
	}

	public void setEffectiveFrom(String newEffectiveFrom)
	{
		effectiveFrom = newEffectiveFrom;
	}

	public String getEffectiveUntil()
	{
		return effectiveUntil;
	}

	public void setEffectiveUntil(String newEffectiveUntil)
	{
		effectiveUntil = newEffectiveUntil;
	}

	public String getAbbreviation()
	{
		return abbreviation;
	}

	public void setAbbreviation(String newAbbreviation)
	{
		abbreviation = newAbbreviation;
	}

	public Long getCode()
	{
		return code;
	}

	public void setCode(Long newCode)
	{
		code = newCode;
	}

	public Long getUserCode()
	{
		return userCode;
	}

	public void setUserCode(Long newUserCode)
	{
		userCode = newUserCode;
	}

	public Long getOwnerUserCode()
	{
		return ownerUserCode;
	}

	public void setOwnerUserCode(Long newOwnerUserCode)
	{
		ownerUserCode = newOwnerUserCode;
	}

	public String getUse()
	{
		return use;
	}

	public void setUse(String newUse)
	{
		use = newUse;
	}


}